package com.example.testapplication.Paging;

import androidx.annotation.NonNull;
import androidx.paging.DataSource;

/**
 * 创建我们的DataSource工厂
 * */
public class PagingDataSourceFactory extends DataSource.Factory<Integer,Income> {
    @NonNull
    @Override
    public DataSource<Integer, Income> create() {
        return new PagingDataSource();
    }
}
